<?php
namespace Mobile\Controller;

use Think\Controller;

class CommonController extends Controller
{
    public function sub($str)
    {
        return substr($str, 0, 4) . '/' . substr($str, 4, 2) . '/' . substr($str, 6, 2) . '/';
    }
}